﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ShareRss
{
    public partial class SettingForm : Form
    {
        public SettingForm()
        {
            InitializeComponent();
        }



        private void SettingForm_Load(object sender, EventArgs e)
        {
            isVipLink.Checked = bool.Parse(ConfigDll.GetConfigValue("isVipLink").ToString());
            Timenumeric.Value = int.Parse(ConfigDll.GetConfigValue("time").ToString());
        }

        private void Timenumeric_ValueChanged(object sender, EventArgs e)
        {
            ConfigDll.SetConfigValue("time", Timenumeric.Value.ToString());
        }

        private void isVipLink_CheckedChanged(object sender, EventArgs e)
        {
            ConfigDll.SetConfigValue("isVipLink", isVipLink.Checked.ToString());
        }
    }
}
